<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/ConditionalGCode.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ConditionalGCode.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;string&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;exprtk/exprtk.hpp&gt;</code><br />
<code>#include &quot;<a class="el" href="_conditional_g_code_8hpp_source.html">ConditionalGCode.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_slic3r"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html">Slic3r</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adbbf72d73e1043737f82fb8602362e3b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#adbbf72d73e1043737f82fb8602362e3b">Slic3r::ltrim</a> (std::string &amp;s)</td></tr>
<tr class="separator:adbbf72d73e1043737f82fb8602362e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a672d112ecbb4c2ae37f80c3752417b86"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a672d112ecbb4c2ae37f80c3752417b86">Slic3r::rtrim</a> (std::string &amp;s)</td></tr>
<tr class="separator:a672d112ecbb4c2ae37f80c3752417b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7b665b8658dc4e1ca7b34471a727396"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#ab7b665b8658dc4e1ca7b34471a727396">Slic3r::trim</a> (std::string &amp;s)</td></tr>
<tr class="separator:ab7b665b8658dc4e1ca7b34471a727396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dd7f07d9512c05af02c3cc5dc631a06"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a6dd7f07d9512c05af02c3cc5dc631a06">Slic3r::replace_substr</a> (std::string &amp;str, const std::string &amp;from, const std::string &amp;to)</td></tr>
<tr class="separator:a6dd7f07d9512c05af02c3cc5dc631a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cfd976ecd1b426067a990ae4a72d29c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a3cfd976ecd1b426067a990ae4a72d29c">Slic3r::apply_math</a> (const std::string &amp;input)</td></tr>
<tr class="memdesc:a3cfd976ecd1b426067a990ae4a72d29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start of recursive function to parse gcode file.  <a href="namespace_slic3r.html#a3cfd976ecd1b426067a990ae4a72d29c">More...</a><br /></td></tr>
<tr class="separator:a3cfd976ecd1b426067a990ae4a72d29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b51ebe9a05802ffdd2ea58fd77a514"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#af0b51ebe9a05802ffdd2ea58fd77a514">Slic3r::evaluate</a> (const std::string &amp;expression_string)</td></tr>
<tr class="separator:af0b51ebe9a05802ffdd2ea58fd77a514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c135034ec6a71a5a93e51abcb7eddc"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#ac5c135034ec6a71a5a93e51abcb7eddc">Slic3r::expression</a> (const std::string &amp;input, const int depth)</td></tr>
<tr class="memdesc:ac5c135034ec6a71a5a93e51abcb7eddc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an expression and return a string. We assume that <a class="el" href="class_slic3r_1_1_placeholder_parser.html">PlaceholderParser</a> has expanded all variables.  <a href="namespace_slic3r.html#ac5c135034ec6a71a5a93e51abcb7eddc">More...</a><br /></td></tr>
<tr class="separator:ac5c135034ec6a71a5a93e51abcb7eddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
